package com.roundarch.www.service;

import java.util.List;

import com.roundarch.www.DataEntity;

public interface EntityService {
	public <T extends DataEntity>T find(long id,Class<T> c);
	public <T extends DataEntity> List<T> listAll(Class<T> c);
	public <T extends DataEntity> void save(final T file);
	public <T extends DataEntity> void delete(long id,Class<T> c);
    public <T extends DataEntity> T find(Class<T> entityClass, String propertyName, Object propertyValue);

}
